﻿using Socket_Push_SDK;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Signal_R_Push_platform.AppCode
{
    public class SocketPush_Action : ILinkAction
    {
        public LinkCheck GetLinkCheck()
        {
            return new LinkCheck((key, Context) => {
                return true;
            });
        }

        public LinkOnConnected GetLinkOnConnected()
        {
            return new LinkOnConnected((key, Context,Client) => {
                key = key ;
            });
        }

        public LinkOnDisconnected GetLinkOnDisconnected()
        {
            return new LinkOnDisconnected((key, Context) => {
                key = key;
            });
        }

        public ReciveFunc GetReciveFunc()
        {
            return new ReciveFunc((key,action,data) => {
                key = key;
            });
        }
    }
}
